package com.bustle.ejb.entity;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;

@Entity
public class Address {

	public String getName_street() {
		return name_street;
	}

	public void setName_street(String name_street) {
		this.name_street = name_street;
	}

	public String getDepartment() {
		return department;
	}

	public void setDepartment(String department) {
		this.department = department;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public Address() {
		super();
	}

	public Address(String department, String postcode, String city,
			String name_street) {
		super();
		this.department = department;
		this.name_street = name_street;
		this.city = city;
		this.postcode = postcode;
	}

	public String getPostcode() {
		return postcode;
	}

	public void setPostcode(String postcode) {
		this.postcode = postcode;
	}

	@Id
	@GeneratedValue
	private int id;
	private String department;
	private String city;
	private String name_street;
	private String postcode;

}